using System;

namespace System.Collections.Generic
{
    internal static class IListExtensions 
    {
        public static void AddRange<T>(this IList<T> current, params T[] objects)
        {
            foreach (var item in objects)
            {
                current.Add(item); 
            }    
        }

        public static void AddRange<T>(this IList<T> current, IEnumerable<T> objects)
        {
            foreach (var item in objects)
            {
                current.Add(item);
            }

        }


    }
}
